﻿using scheduleMVC.Models;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;

namespace scheduleMVC.DAL
{
    public class EmployeeContext:DbContext
    {
  
        public EmployeeContext()
            : base("DefaultConnection")
        { }
        public DbSet<EmployeeModel> Employees { get; set; }
        protected override void OnModelCreating(DbModelBuilder modelBuilder)
        {
            //Configure domain classes using Fluent API here

            base.OnModelCreating(modelBuilder);
        }
    }
}